package org.nobject.common.swing.g;

import java.awt.Graphics;
import java.awt.LayoutManager;

import javax.swing.JDesktopPane;

/**
 * GDesktopPane
 *
 * @author bianrongjun
 * @version 1.0
 */
public class GDesktopPane extends JDesktopPane  implements IG{

	/**
	 * 构造函数 
	 */
	public GDesktopPane() {
		super();
		this.core=new GComponent();
	}
	
	/**
	 * 构造函数 
	 * @param layoutManager
	 */
	public GDesktopPane(LayoutManager layoutManager){
		this();
		this.setLayout(layoutManager);
	}
	
	/** GComponent */
	private GComponent core;
	public GComponent getGCore() {return core;}
	
	
	public void paintChildren(Graphics g) {core.paintChildren(g);super.paintChildren(g);}
}
